Skip to content

rewrite orchestrion in javascript#41

Open
rochdev wants to merge 27 commits intonodejs:mainfrom
rochdev:js-rewrite
Open

rewrite orchestrion in javascript#41
rochdev wants to merge 27 commits intonodejs:mainfrom
rochdev:js-rewrite

Conversation

@rochdev
Copy link

@rochdev rochdev commented Mar 10, 2026

[RFC] Rewrite Orchestrion in JavaScript

A few features were also carried over from the original iteration of the rewrite:

  • Supports an astQuery field to filter AST nodes with an esquery query. This
    is mostly meant to be used when experimenting or if what needs to be queried
    is not a function.
  • Supports replacing methods of child class instances in the base constructor.
  • Supports tracing iterator (sync/async) returning functions (sync/async) will be added in a future PR

Copy link
Contributor

@jsumners-nr jsumners-nr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't reviewed any of the functionality at this time. Just some maintenance type suggestions.

I'd like to see jsdoc blocks on all functions, classes, and methods. This will reduce the need to follow all paths to understand what shapes parameters are meant to be and clarify intentions.

@rochdev rochdev marked this pull request as ready for review March 12, 2026 16:42
@rochdev rochdev changed the title rewrite in js except parsing that uses oxc with meriyah as fallback rewrite orchestrion in javascript Mar 12, 2026
`rustup target add wasm32-unknown-unknown --toolchain stable`
- Install dependencies and build the module\
`npm install && npm run build`
`@apm-js-collab/code-transformer` exposes the library.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we'll need this going forward?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure what to replace this with, so I only removed the Rust part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants